<componentOf typeCode="COMP">
    <encompassingEncounter>
        <effectiveTime value="${docData.componentOf.effectiveTime}"/>
        <encounterParticipant typeCode="ATND">
            <assignedEntity>
                <id/>
                <representedOrganization>
                    <name>${docData.componentOf.representedOrganizationName}</name>
                    <asOrganizationPartOf>
                        <wholeOrganization>
                            <id root="2.16.156.10011.1.5" extension="${docData.componentOf.wholeOrganizationId}"/>
                            <name>${docData.componentOf.wholeOrganizationName}</name>
                        </wholeOrganization>
                    </asOrganizationPartOf>
                </representedOrganization>
            </assignedEntity>
        </encounterParticipant>
    </encompassingEncounter>
</componentOf>
